package com.nervenets.web.controller.handler.admin.user;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserIdCheckParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "用户ID")
    private long targetUserId;
    @NeedValidation(type = Type.NOTEMPTY, description = "是否通过")
    private boolean success;
    @NeedValidation(type = Type.EMPTY, description = "未通过的原因")
    private String failedReason;

}
